#!/usr/bin/env python2.7
# ----------------------------------------------------------------------------
#

import sys
import site_config as cfg
import qrpbbb_lib as lib

s = ' '.join(sys.argv[1:])

if s == "":
    print """Possible c:ommand packet payloads:
    uhave			ident
    uhave 1			uwant [priority]
    uhave newsspool		uheard
    uhave incomplete
"""
    print "command>",
    s = raw_input()

lib.packetout (cfg.APRSPREAM + "C:" + s, priority=50)

#
# ----------------------------------------------------------------------------
#
